package com.qzw.pojo;

import com.qzw.pojo.Player;

import java.util.HashSet;
import java.util.Set;


public class Role {
    private Integer rid;
    private String rname;
    private String description;
    private String skills;

    Set<Player> players = new HashSet<>();

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public Set<Player> getPlayers() {
        return players;
    }

    public void setPlayers(Set<Player> players) {
        this.players = players;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getSkills() {
        return skills;
    }

    public void setSkills(String skills) {
        this.skills = skills;
    }

    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", name='" + rname + '\'' +
                ", skills='" + skills + '\'' +
                '}';
    }
}